package com.sanji.pay.pay.dto;

import java.util.Date;

/**
 * 支付交易
 * Created by cbh on 2017/9/1.
 */
public class PayDeal {
  private String orderNum;//商户订单号

  private Integer totalCost;//订单金额

  private Integer dealFee;//交易总金额

  private String dealState;//交易状态

  private String hmac;//返回交易签名

  private String dealId;//交易平台id

  private String dealType;//交易支付类型

  private String payType;//支付类型；gateway-网管支付，pos-pos支付

  private Date payTime;//支付时间

  private String payee;//pos端收货人姓名

  private String bankCardNo;//银行卡号

  private String bankCardName;//发卡行

  private String payNum;//支付单号

  public String getOrderNum() {
    return orderNum;
  }

  public void setOrderNum(String orderNum) {
    this.orderNum = orderNum;
  }

  public Integer getTotalCost() {
    return totalCost;
  }

  public void setTotalCost(Integer totalCost) {
    this.totalCost = totalCost;
  }

  public Integer getDealFee() {
    return dealFee;
  }

  public void setDealFee(Integer dealFee) {
    this.dealFee = dealFee;
  }

  public String getDealState() {
    return dealState;
  }

  public void setDealState(String dealState) {
    this.dealState = dealState;
  }

  public String getHmac() {
    return hmac;
  }

  public void setHmac(String hmac) {
    this.hmac = hmac;
  }

  public String getDealId() {
    return dealId;
  }

  public void setDealId(String dealId) {
    this.dealId = dealId;
  }

  public String getDealType() {
    return dealType;
  }

  public void setDealType(String dealType) {
    this.dealType = dealType;
  }

  public String getPayType() {
    return payType;
  }

  public void setPayType(String payType) {
    this.payType = payType;
  }

  public Date getPayTime() {
    return payTime;
  }

  public void setPayTime(Date payTime) {
    this.payTime = payTime;
  }

  public String getPayee() {
    return payee;
  }

  public void setPayee(String payee) {
    this.payee = payee;
  }

  public String getBankCardNo() {
    return bankCardNo;
  }

  public void setBankCardNo(String bankCardNo) {
    this.bankCardNo = bankCardNo;
  }

  public String getBankCardName() {
    return bankCardName;
  }

  public void setBankCardName(String bankCardName) {
    this.bankCardName = bankCardName;
  }

  public String getPayNum() {
    return payNum;
  }

  public void setPayNum(String payNum) {
    this.payNum = payNum;
  }

  @Override
  public String toString() {
    return "PayDeal{" +
            "orderNum='" + orderNum + '\'' +
            ", totalCost=" + totalCost +
            ", dealFee=" + dealFee +
            ", dealState='" + dealState + '\'' +
            ", hmac='" + hmac + '\'' +
            ", dealId='" + dealId + '\'' +
            ", dealType='" + dealType + '\'' +
            ", payType='" + payType + '\'' +
            ", payTime=" + payTime +
            ", payee='" + payee + '\'' +
            ", bankCardNo='" + bankCardNo + '\'' +
            ", bankCardName='" + bankCardName + '\'' +
            ", payNum='" + payNum + '\'' +
            '}';
  }
}
